﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using DataBaseModel;

namespace KlubSportowy.ViewModels
{
    //public class ClubMemberViewModel
    //{
    //    public int Id { get; set; }
    //    public string UserName { get; set; }
    //    public string Email { get; set; }
    //}
    
    public class ClubMemberViewModel
    {
        [Required]
        [Display(Name = "Id użytkownika")]
        public int Id { get; set; }

        [Required]
        [Display(Name = "Nazwa użytkownika")]
        public string UserName { get; set; }
        
        [Required]
        [Display(Name = "E-mail")]
        public string Email { get; set; }

        [Required]
        [Display(Name = "Ostatnio aktywny")]
        public DateTime LastActivity { get; set; }

        [Required]
        [Display(Name = "Ostatnio zalogowany")]
        public DateTime LastLogOn { get; set; }

        [Required]
        [Display(Name = "Data rejestracji")]
        public DateTime RegisterDate { get; set; }
    }
}